<?php
/**
 * @package		Joomla.Site for Joomla 2.5
 * @subpackage	mod_articles_subcategories
 * @author      Proweb Solutionz
 * @copyright	Copyright (C)  2012  prowebsolutionz.com. All rights reserved.
 * @license		GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html; 
 */

// no direct access
defined('_JEXEC') or die; 
?>
<div class="sidebar-title"><?php echo $category; ?></div>
<div class="sidebar-content">
  <ul class="priority">
  <?php
  foreach ($list as $item) :
  ?>
    <li>
      <a href="<?php echo JRoute::_(ContentHelperRoute::getCategoryRoute($item->id)); ?>">
        <?php echo $item->title;?>
      </a>
   </li>
  <?php endforeach; ?>
  </ul>
</div>